raar.world
Class RAGripperTool

java.lang.Object
  extended by raar.world.RAGripperTool

public class RAGripperTool
extends java.lang.Object


Field Summary
static double INVALID
           
static double MAX_GRIP_ANGLE
           
 
Constructor Summary
RAGripperTool()
           
 
Method Summary
static double direction(double fx, double fy, double tx, double ty)
          Determine the direction of (tx,ty) as seen from (fx,fy).
static boolean isAgentGrippingSomething(RAAgent a)
           
static void tryGrip(RAAgent agent, RAWorld wo)
           
static void ungrip(RAAgent a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_GRIP_ANGLE

public static final double MAX_GRIP_ANGLE

INVALID

public static final double INVALID
See Also:
Constant Field Values
Constructor Detail

RAGripperTool

public RAGripperTool()
Method Detail

tryGrip

public static void tryGrip(RAAgent agent,
                           RAWorld wo)

ungrip

public static void ungrip(RAAgent a)

isAgentGrippingSomething

public static boolean isAgentGrippingSomething(RAAgent a)

direction

public static double direction(double fx,
                               double fy,
                               double tx,
                               double ty)
Determine the direction of (tx,ty) as seen from (fx,fy).